package com.ssm.hj.service;

import com.github.pagehelper.PageInfo;
import com.ssm.hj.page.Page;
import com.ssm.hj.search.RoleSearch;
import com.ssm.pojo.Role;
import org.apache.ibatis.annotations.Param;

public interface RoleService {
    //  阿杰 查询所有角色
    PageInfo<Role> queryRoleAllService(Page<RoleSearch> page) throws Exception;
    // 阿杰 修改角色状态
    int updateRoleStateService(int id,int state) throws Exception;
}
